/// Author: QP
/// Version: 1.0
/// Date:2021/07/01
/// 过敏条目
/// 注意，这不是章节类，是过敏条目类
Class HCC.SQL.Document.Allergy.Item Extends (%Persistent, %XML.Adaptor, HCC.SQL.Base) [ DependsOn = HCC.SQL.Base ]
{

/// 文档号
Relationship Allergy As HCC.SQL.Document.Allergy(XMLPROJECTION = "NONE") [ Cardinality = parent, Inverse = Allergies, SqlFieldName = DocumentNo ];

/// 过敏症状出现日期
Property effectiveTime As %Date(FORMAT = 8) [ SqlFieldName = eff_time ];

/// 过敏源
Property allergen As WS.DE.DE021002200 [ SqlFieldName = allergen ];


}
